import { initUrl } from '@/config/axios_config'

/*******************通知API************************ */
///rest/notice/list 获取通知列表
export const getNoticeList = data => initUrl(`/rest/notice/list`, data, 'GET')

///rest/notice/add 新增通知
export const addNotice = data => initUrl(`/rest/notice/add`, data, 'POST')

///rest/notice/update 修改通知
export const updateNotice = data => initUrl(`/rest/notice/update`, data, 'POST')

///rest/notice/delete 删除通知
export const deleteNotice = data => initUrl(`/rest/notice/delete`, data, 'GET')
